package com.design;

import java.lang.reflect.Proxy;

/**
 * @Description TODO
 * @Author com.com.hyl
 * @Date 2022/9/13 11:23
 **/
public class IntermediaryJDKProxyFactory {

//	public static <T> T create(Object target){
//		IntermediaryInvovationhandler handler = new IntermediaryInvovationhandler();
//		handler.setTarget(target);
//		return (T) Proxy.newProxyInstance(target.getClass().getClassLoader(),
//				target.getClass().getInterfaces(), handler);
//	}
}
